<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-generate {:$auth->check('serial/special/generate')?'':'hide'}" title="生成{:__('Code')}" ><i class="fa fa-recycle"></i> 生成{:__('Code')}</a>
                        <a href="javascript:;" class="btn btn-success btn-excel {:$auth->check('serial/special/send')?'':'hide'}" title="{:__('Is_send')}{:__('Code')}" ><i class="fa fa-paper-plane"></i> {:__('Is_send')}{:__('Code')}</a>
                        <a href="javascript:;" class="btn btn-danger  btn-generate_tax {:$auth->check('serial/special/cancel')?'':'hide'}" title="{:__('产品作废')}" ><i class="fa fa-trash"></i> {:__('专属号作废')}</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('serial/edit')}"
                           data-operate-del="{:$auth->check('serial/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" autocomplete="off">
        <fieldset>
            <div class="row">
         
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="code" class="control-label col-xs-4">{:__('Code')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="code-operate" data-name="code" value="like" readonly="" />
                 <input type="text" class="form-control" name="code" value="" placeholder="{:__('Code')}" id="code" data-index="2" />
                </div>
               </div>
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="is_send" class="control-label col-xs-4">{:__('Is_send')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="is_send-operate" data-name="is_send" value="=" readonly="" />
                 <select class="form-control" name="is_send">
                     <option value="">选择</option>
                     {foreach name="getSendList" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>       
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="is_cancel" class="control-label col-xs-4">{:__('Is_cancel')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="is_cancel-operate" data-name="is_cancel" value="=" readonly="" />
                 <select class="form-control" name="is_cancel">
                     <option value="">选择</option>
                     {foreach name="getCancelList" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>   
                      <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="is_use" class="control-label col-xs-4">{:__('Is_use')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="is_use-operate" data-name="is_use" value="=" readonly="" />
                 <select class="form-control" name="is_use">
                     <option value="">选择</option>
                     {foreach name="getUseList" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>             
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="type_pdf" class="control-label col-xs-4">{:__('Type_pdf')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="type_pdf-operate" data-name="type_pdf" value="=" readonly="" />
                 <select class="form-control" name="type_pdf">
                     <option value="">选择</option>
                     {foreach name="getTypepdfList" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>  
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="usetime" class="control-label col-xs-4">{:__('Usetime')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="usetime-operate" data-name="usetime" value="RANGE" readonly="" />
                 <input type="text" class="form-control datetimerange" name="usetime" data-time-picker="true" data-use-current="true" value="" placeholder="{:__('Usetime')}" id="usetime" data-index="3" />
                </div>
               </div>   
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="createtime" class="control-label col-xs-4">{:__('Createtime')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="createtime-operate" data-name="createtime" value="RANGE" readonly="" />
                 <input type="text" class="form-control datetimerange" name="createtime" data-time-picker="true" data-use-current="true" value="" placeholder="{:__('Createtime')}" id="createtime" data-index="3" />
                </div>
               </div>
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="updatetime" class="control-label col-xs-4">{:__('Updatetime')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="updatetime-operate" data-name="updatetime" value="RANGE" readonly="" />
                 <input type="text" class="form-control datetimerange" name="updatetime" data-time-picker="true" data-use-current="true" value="" placeholder="{:__('Updatetime')}" id="updatetime" data-index="3" />
                </div>
               </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3  pull-right">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</script>